<?php

namespace App\Http\Controllers; //定义命名空间


//使用命名空间 不指定as别名 就使用\的最后节点作为别名
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class StaticPagesController extends Controller
{
//首页
    public function home() {

      return view('static_pages/home');

    }

    //help
        public function help() {

          return view('static_pages/help');
        }

        //about
            public function about() {

              return view('static_pages/about');
            }



}
